package com.smart.home.service;

import com.smart.home.dto.Devices.DevicesTypeDto;
import com.smart.home.entity.DeviceTypes;
import com.smart.home.entity.Devices;

import java.util.List;

public interface DevicesTypeService {
    Long addDevice(DevicesTypeDto devicesTypeDto);

    Long updateDevice(DevicesTypeDto devicesTypeDto, Long deviceTypeId);

    List<DeviceTypes> queryDeviceTypes(Long id);

    List<Devices> queryDevice(Long id);

    void  removeDevice(Long id);

    void removeDeviceType(Long id);

    void changeDeviceType(Long DeviceId, Long deviceTypeId);
}
